package com.nes.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * Created by wdq on 17-6-1.
 */
//@SpringBootApplication @EnableDiscoveryClient @EnableCircuitBreaker
@SpringCloudApplication
@EnableZuulProxy //启用路由
public class ZuulApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApplication.class,args);
    }
}
